
class Student(object):

    def __init__(self, a, b):
        self.name = a
        self.score = b

    def stu_print(self):
        print("%s 的成绩为： %s"%(self.name, self.score))


stu01 = Student("王杨帅", 60)
stu01.stu_print()
print("parting line".center(14, '='))
print(stu01.name)
print(stu01.score)
